package org.springframe.bean;
/**
* @package  org.springframe.bean
* @classname BeanDefinition
* @description bean 信息定义
* @version 1.0
* @author luoweiwei
* @date  2021-04-23 15:21:01
*/
public class BeanDefinition {

    private Class<?> beanClass;

    private String scope;

    private String initMethodName;

    private boolean isLazy;

    private boolean primary;

    public BeanDefinition() {
        isLazy = false;
    }

    public Class<?> getBeanClass() {
        return beanClass;
    }

    public void setBeanClass(Class<?> beanClass) {
        this.beanClass = beanClass;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getInitMethodName() {
        return initMethodName;
    }

    public void setInitMethodName(String initMethodName) {
        this.initMethodName = initMethodName;
    }

    public boolean isLazy() {
        return isLazy;
    }

    public void setLazy(boolean lazy) {
        isLazy = lazy;
    }

    public boolean isPrimary() {
        return primary;
    }

    public void setPrimary(boolean primary) {
        this.primary = primary;
    }
}
